package com.frxuexi.shop.intent

import com.frxuexi.lib_base.entity.CreateOrderReqBean
import com.frxuexi.lib_base.entity.PreOrderReqBean
import com.frxuexi.lib_base.mvi.IUiIntent

sealed class CartIntent:IUiIntent {
    data class getCarts(val page: Int): CartIntent()
    data class updateCart(val id:Int,val num:Int):CartIntent()

    data class deleteCart(val ids:List<Int>):CartIntent()

    data class preOrder(val item:PreOrderReqBean):CartIntent()
    data class getPreOrder(val preNo:String):CartIntent()
    data class createOrder(val item:CreateOrderReqBean):CartIntent()
}